package com.zatech.cgnci.project.service;

import com.zatech.cgnci.project.entity.CgnciDirectInsuranceRiskDO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 直保险种表 服务类
 * </p>
 *
 * @author Generator
 * @since 2025-03-19
 */
public interface CgnciDirectInsuranceRiskService extends IService<CgnciDirectInsuranceRiskDO> {

    /**
     * 删除直保险种
     *
     * @param riskId 直保险种ID
     * @param type   1-项目 2-保单/分入/分出
     */
    void deleteInsuranceRisk(Long riskId, String type);

}
